asp.net core get root url in view

37

mvc get base url -

Request.Url.GetLeftPart(UriPartial.Authority) + Url.Content("~")

Comments

Submit
0 Comments